/* 
 * Copyright (c) 2013 TianYu Technologies, Inc. All rights reserved.   
 * 
 * This software is the confidential and proprietary information of   
 * TianYu Technologies. You shall not disclose such Confidential Information   
 * and shall use it only in accordance with the terms of the agreements   
 * you entered into with TianYu Technologies.   
 *   
 */
package com.code.pd.proxy;


/**
 * 
 * name：ProxyTest    
 * <p></p>    
 * @author：lipeng    
 * @data：2014-5-29 下午03:59:14    
 * @version  1.0
 */
public class ProxyTest {
	
	public static void main(String[] args) {
//		IItesManageAppservice appservice=new ItemsAppservice();
//		ItemsServiceProxy proxy=new ItemsServiceProxy();
//		IItesManageAppservice gg=(IItesManageAppservice) proxy.bind(appservice);
//		gg.addItems(null);
		MyCglibProxy cglib=new MyCglibProxy();
		cglib.getProxyInstance(new ItemsAppservice()).addItems(null);
	}

}
